package p3;

public interface DeviceInterface {


	/**
	 * Adds a process to the the queue.
	 * @param p	The process to be added.
	 */
	public void insertProcess(Process p);


	/**
	 * This method is called when a discrete amount of time has passed.
	 * @param timePassed	The amount of time that has passed since the last call to this method.
	 */
	public void timePassed(long timePassed);
	
	/**
	 * Pops the next process from a respective queue
	 */
	public Process popNextProcess();
}